<template>

  <el-dialog
    :title="titleText"
    :visible.sync="openDialog"
    :before-close="closeDialogEvent"
  >
  </el-dialog>
</template>
<script>
export default {
  props: {
    openDialog: {
      type: Boolean,
      defalut: () => {
        return false;
      }
    },
    closeDialogEvent: {
      type: Function,
      defalut: () => {}
    },
    titleText: {
      type: String,
      defalut: () => {
        return "";
      }
    },
    determineEvent: {
      type: Function,
      defalut: () => {}
    },
    cancelEvent: {
      type: Function,
      defalut: () => {}
    }
  }
};
</script>
<style scoped></style>
